export default {
  menu:true,
  dialogFullscreen: false,
  refreshBtn: false,
  searchShowBtn: false,
  columnBtn: false,
  height: '500px',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: false,
  viewBtn: true,
  selection: false,
  dialogClickModal: false,
  column: [
    {
      label: "id",
      prop: "id",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      display: false,
    },
    {
      label: "批次id",
      prop: "batchId",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      display: false,
      hide: true,
    },
    {
      label: "批次名称",
      prop: "batchName",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      display: false,
    },
    {
      label: "批次明细id",
      prop: "batchDetailId",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      display: false,
    },
    {
      label: "协议id",
      prop: "agreemaneId",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      display: false,
    },
    {
      label: "药品流水号",
      prop: "medicineNo",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      display: false,
    },
    {
      label: "药品通用名",
      prop: "medicineName",
      type: "input",
      display: false,
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "操作类型",
      prop: "changeType",
      type: "select",
      search: true,
      addDisplay: false,
      editDisplay: false,
      display: false,
      dicData: [
        {
          label: "初次填报",
          value: "初次填报"
        },
        {
          label: "补签",
          value: "补签"
        },
        {
          label: "换货",
          value: "换货"
        },
        {
          label: "退货",
          value: "退货"
        },
      ],
    },
    {
      label: "变更数量",
      prop: "amount",
      type: "input",
      labelWidth: 200,
      rules: [{
        required: true,
        message: "请输入变更数量",
        trigger: "blur",
        pattern: /^(0|[1-9][0-9]{0,3}|9999)$/,
      }],
    },
    {
      label: "变更说明附件",
      prop: "changeFile",
      type: "upload",
      display: true,
      formslot: true,
      labelWidth: 150,
      rules: [{
        required: true,
        message: '请上传变更说明附件',
        trigger: 'blur'
      }],
    },
    {
      label: "配送企业",
      prop: "deliveryCompanyId",
      display: false,
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },  {
      label: "状态",
      prop: "status",
      type: "input",
      display: false,
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建部门",
      prop: "createDept",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      display: false,
    },
    {
      label: "创建人",
      prop: "createUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      display: false,
    },
    {
      label: "创建时间",
      prop: "createTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      display: false,
    },
    {
      label: "更新人",
      prop: "updateUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      display: false,
    },
    {
      label: "变更时间",
      prop: "updateTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      display: false,

    },
    {
      label: "删除标识",
      prop: "isDeleted",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      display: false,
    },
  ]
}
